package cn.gov.pbc.gd.credit.provider.api.report.impl;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.liu.jbase.service.db.impl.DBBaseServiceImpl;

import cn.gov.pbc.gd.credit.api.report.IReportApi;
import cn.gov.pbc.gd.credit.provider.dao.report.IReportDao;
import cn.gov.pbc.gd.credit.vo.report.ChargeVo;
import cn.gov.pbc.gd.credit.vo.report.ResChargeReportVo;

@Service
public class ReportApiImpl extends DBBaseServiceImpl<ResChargeReportVo, ChargeVo, IReportDao> implements IReportApi {
    @Autowired
    private IReportDao reportDao;


    public List<ResChargeReportVo> chargeReport(ChargeVo chargeVo) {
        return reportDao.chargeReport(chargeVo);
    }


    public List<HashMap<String,BigDecimal>> feeReport(ChargeVo chargeVo) {
        return reportDao.feeReport(chargeVo);
    }


    public List<HashMap<String,Integer>> countReport(ChargeVo chargeVo) {
        return reportDao.countReport(chargeVo);
    }


	@Override
	public List<ResChargeReportVo> chargeTotal(ChargeVo vo) {
		return reportDao.chargeTotal(vo);
	}


}
